package com.sunnuwell.demo.service;

import com.sunnuwell.demo.common.exception.AdException;
import com.sunnuwell.demo.common.vo.CommonResponse;
import com.sunnuwell.demo.entity.Equipment;
import com.sunnuwell.demo.vo.EquipmentVo;
import org.springframework.data.domain.Page;

import java.text.ParseException;

public interface EquipmentService {

    String save(EquipmentVo equipmentVo) throws AdException, ParseException;

    void delete(EquipmentVo equipmentVo) throws AdException;

    Page<Equipment> findAllEquipment(EquipmentVo equipmentVo) throws AdException;
}
